
<%@ Page Title="" Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="EventAuditor.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.EventLogging.EventAuditor" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register src="../UserControls/UCGrid.ascx" tagname="UCGrid" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">

        window.onload = function() {
        
            var msg = document.getElementById('ctl00_MasterMsg');
            if (msg && msg.innerHTML != '')
                showMessageBlock();
        }
        </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


<table  border="0" cellspacing="0" cellpadding="0" width="530">
  
  <tr>
    <td>
    	<table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="130">Module*:</td>
            <td width="165">
                <asp:DropDownList ID="ddlModules" runat="server" CssClass="ddl">
                    <asp:ListItem>Select...</asp:ListItem>
                    <asp:ListItem Value="3">User Management</asp:ListItem>
                    <asp:ListItem Value="11">Collection</asp:ListItem>
                    <asp:ListItem Value="8">Batch Job</asp:ListItem>
                </asp:DropDownList>
              </td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td width="130" class="pix8"></td>
            <td></td>
            <td></td>
            <td></td>
          </tr>
          <tr>
            <td>Action*:</td>
            <td>
                
                
                
                <asp:DropDownList ID="ddlAction" runat="server" CssClass="ddl">
                    <asp:ListItem>Select...</asp:ListItem>
                    <asp:ListItem>New Entry</asp:ListItem>
                    <asp:ListItem>Modification</asp:ListItem>
                </asp:DropDownList>
                
                
                
                </td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td width="130" class="pix8"></td>
            <td></td>
            <td></td>
            <td></td>
          </tr>
          <tr>
            <td >
                User:</td>
            <td >
                <asp:TextBox ID="txtUserName" runat="server" CssClass="txtbox"></asp:TextBox>            
                
            </td>
            <td>
                
            </td>
             <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="130" class="pix8"></td>
            <td></td>
            <td></td>
            <td></td>
          </tr>
          <tr>
            <td >
                Effective From:</td>
            <td >
                <asp:TextBox ID="txtEffectiveFrom" runat="server" CssClass="txtbox"></asp:TextBox>
                
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtEffectiveFrom" Display="Dynamic" 
                    ValidationExpression="^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2})$|^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2}\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$">*</asp:RegularExpressionValidator>
                
            </td>
            <td>
                <asp:Image ID="Image1" runat="server" ImageUrl="~/images/calander.jpg" />
                <cc1:CalendarExtender ID="txtEffectiveFrom_CalendarExtender" runat="server" 
                    TargetControlID="txtEffectiveFrom" PopupButtonID="Image1" Format="dd/MM/yyyy">
                </cc1:CalendarExtender>
                
            </td>
             <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="130" class="pix8"></td>
            <td></td>
            <td></td>
            <td></td>
          </tr>
        <tr>
            <td >
                Effective To:</td>
            <td  >
                <asp:TextBox ID="txtEffectiveTo" runat="server" CssClass="txtbox"></asp:TextBox>
               
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="txtEffectiveTo" Display="Dynamic"
                    ValidationExpression="^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2})$|^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2}\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$">*</asp:RegularExpressionValidator>
               
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtEffectiveFrom" ControlToValidate="txtEffectiveTo" 
                    Operator="GreaterThan" Type="Date">*</asp:CompareValidator>
               
            </td>
            <td >
                <asp:Image ID="Image4" runat="server" ImageUrl="~/images/calander.jpg" />
                 <cc1:CalendarExtender ID="txtEffectiveTo_CalendarExtender" runat="server" 
                    TargetControlID="txtEffectiveTo" PopupButtonID="Image4" Format="dd/MM/yyyy">
                </cc1:CalendarExtender>
            </td>
             <td>&nbsp;</td>
        </tr>          
        </table>

    </td>
  </tr>
  <tr>
    <td class="pix8" ></td>
  </tr>
  <tr>
    <td>
        <asp:Button ID="btnSearch" runat="server" CssClass="btn" Text="Search" 
            onclick="btnSearch_Click" onclientclick="validationSummery();" />
      </td>
  </tr>
  <tr>
    <td class="pix8"  ></td>
  </tr>
  <tr>
    <td>
        <uc1:UCGrid ID="UCGrid1" runat="server" />
      </td>
  </tr>
  <tr>
    <td></td>
  </tr>
  <tr>
    <td>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
      </td>
  </tr>
  <tr>
    <td></td>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

</asp:Content>
